Skip to content

Add zip blocking example#162

Merged
MorrisJobke merged 3 commits into
masterfrom
files_access_mimetype_example
Sep 5, 2016
Merged

Add zip blocking example#162
MorrisJobke merged 3 commits into
masterfrom
files_access_mimetype_example

Conversation

@oparoz

@oparoz oparoz commented Sep 5, 2016

Copy link
Copy Markdown
Member

An example on how to block zip files

@nickvergessen @jospoortvliet @MorrisJobke

@MorrisJobke

Copy link
Copy Markdown
Member

@oparoz It would be nice to have the regex copy'n'pastable ;)

:alt: Deny access based on collaborative tag

Prevent uploading of specific files
-------------------------

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

length doesn't match

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't matter as it just creates a separator. I think 4 dashes are the minimum.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but building creates a warning:

/home/nickv/Nextcloud/Documentation/admin_manual/configuration_files/files_access_control.rst:53: WARNING: Title underline too short.

Prevent uploading of specific files
-------------------------

@oparoz oparoz Sep 5, 2016

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oparoz

oparoz commented Sep 5, 2016

Copy link
Copy Markdown
Member Author

I've added the regexp as text, let me know if this works for you :)

@MorrisJobke

Copy link
Copy Markdown
Member

👍

@MorrisJobke MorrisJobke merged commit 613abf4 into master Sep 5, 2016
@MorrisJobke MorrisJobke deleted the files_access_mimetype_example branch September 5, 2016 14:51
@MorrisJobke

Copy link
Copy Markdown
Member

stable10: #163

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants